package com.woniuxy.cloud.carl.marketing.common;

public enum AdTypeEnum {
    STORE_AD(1,"门店广告"),GOODS_AD(2,"商品广告"),SERVICE_AD(3,"服务广告");

    Integer code;
    String status;

    public static AdTypeEnum getAdTypeEnum(Integer code){
        for (AdTypeEnum value : AdTypeEnum.values()) {
            if (value.code==code) return value;
        }
        return null;
    }
    AdTypeEnum(Integer code, String status) {
        this.code = code;
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
